package com.bjwl.service.impl;

import com.bjwl.dao.FindBaseMapper;
import com.bjwl.pojo.Partment;
import com.bjwl.pojo.ServiceClass;
import com.bjwl.pojo.ServiceProject;
import com.bjwl.pojo.ServiceSource;
import com.bjwl.service.FindBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: czc
 * @Date:Create：in 2020/5/11 11:20
 * @Description:
 * @Modified By：
 * @Version: 1.0
 */
@Service
public class FindBaseServiceImpl implements FindBaseService {

    @Autowired
    private FindBaseMapper findBaseMapper;

    @Override
    public List<ServiceClass> findAllServiceClass(Integer bsid) {
        return findBaseMapper.findAllServiceClass(bsid);
    }

    @Override
    public List<ServiceProject> findAllServiceProject(Integer bsid) {
        return findBaseMapper.findAllServiceProject(bsid);
    }

    @Override
    public List<ServiceSource> findAllServiceSource(Integer bsid) {
        return findBaseMapper.findAllServiceSource(bsid);
    }

    @Override
    public List<Partment> findAllPartment(Integer bsid) {
        return findBaseMapper.findAllPartment(bsid);
    }


}
